from base.base_actions import BaseAction
from element.home_order_element import HomeElement

class HomeOrderPage(BaseAction):
    # 点击 待付款 链接
    def click_to_be_pay_link(self):
        return self.click(HomeElement.TO_BE_PAY_LINK)

    # 点击 立即支付 按钮
    def click_pay_btn(self):
        return self.click(HomeElement.PAY_BTN)